﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TrainingWorkshop.Model;
using System.ServiceModel;

namespace WCFContracts
{
    /// <summary>
    /// Author：Sissi-Zeng
    /// Date:2012-08-28 16:40
    /// In this file , IProjectBService interface provides to Client about Course business unit
    /// </summary>
    [ServiceContract]
    public partial interface IProjectBService
    {
        /// <summary>
        /// Update course info by given course model
        /// </summary>
        /// <param name="courseToUpdate">given course</param>
        /// <returns>success or failure of update operation</returns>
        [OperationContract]
        int UpdateCourse(Course courseToUpdate);
    }
}
